<div class="test-container">
    <div class="test-header">
        <span class="legend-item ag-row-level-0"></span>
        <span class="legend-label">Top Level Group (After collapsing)</span>
        <span class="legend-item ag-row-level-1"></span>
        <span class="legend-label">Second Level Group</span>
    </div>
    <div id="myGrid" style="height: calc(100% - 40px);" class="ag-theme-quartz"></div>
</div>